Skip to content

Update CoDiPack to 3.1.3 - #3065

Open
joshkellyjak wants to merge 1 commit into
developfrom
feature_update_codipack
Open

joshkellyjak wants to merge 1 commit into
developfrom
feature_update_codipack

Conversation

@joshkellyjak

Copy link
Copy Markdown
Contributor

Proposed Changes

Updates the CoDiPack submodule from a0725b2b (v2.3.0 + 12 commits) to the v3.1.3 release (c25d5c19), and updates sha_version_codi in meson_scripts/init.py to match.

One source change was needed for the Tag tape (-Dcodi-tape=Tag). In CoDiPack 3.x, tags are handled as identifiers again, so getIdentifier() on a tag-tape value returns the tag itself (an int&) instead of a TagData struct. SetTagOnVariable in Common/include/basic_types/ad_structure.hpp accessed .tag and no longer compiled. It now uses the identifier directly, with the same logic. This code is only compiled with CODI_TAG_TAPE, so the other AD builds are unaffected.

The MeDiPack and OpDiLib pins are unchanged and compatible with this version.

This is necessary for forthcoming coupling to AD Cantera

Related Work

PR Checklist

  • I am submitting my contribution to the develop branch.
  • My contribution generates no new compiler warnings (try with --warnlevel=3 when using meson).
  • My contribution is commented and consistent with SU2 style (https://su2code.github.io/docs_v7/Style-Guide/).
  • I used the pre-commit hook to prevent dirty commits and used pre-commit run --all to format old commits.
  • I have added a test case that demonstrates my contribution, if necessary.
  • I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp), if necessary.

🤖 Generated with Claude Code

@joshkellyjak
joshkellyjak changed the base branch from master to develop December 4, 2026 16:19

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants